package com.bishe.tax.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 新闻表 tax_news
 *
 * @author ruoyi
 * @date 2019-06-23
 */
public class TaxNews extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 新闻编码
     */
    private Integer newsId;
    /**
     * 新闻标题
     */
    private String newsTitle;
    /**
     * 新闻内容
     */
    private String newsContent;
    /**
     * 是否置顶
     */
    private Integer newsTop;
    /**
     * 新闻首页图片
     */
    private String newsPhotoUrl;

    private String newsType;

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public String getNewsPhotoUrl() {
		return newsPhotoUrl;
	}

	public void setNewsPhotoUrl(String newsPhotoUrl) {
		this.newsPhotoUrl = newsPhotoUrl;
	}

	public String getNewsContent() {
        return newsContent;
    }

    public void setNewsTop(Integer newsTop) {
        this.newsTop = newsTop;
    }

    public Integer getNewsTop() {
        return newsTop;
    }


    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("newsId", getNewsId())
                .append("newsTitle", getNewsTitle())
                .append("newsContent", getNewsContent())
                .append("newsTop", getNewsTop())
                .toString();
    }
}
